package cn.chinaunicom.fast.common.constant;

import java.util.Set;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = false )
@NoArgsConstructor
public class SmartUser {
    private String userId;
    private String name;
    private String tel;
    private String loginName;
    private String pwd;
    /**
     * 状态, 1.有效 0.无效
     */
    private Boolean enable;
    private Boolean accountNonExpired;
    private Boolean credentialsNonExpired;
    private Boolean accountNonLocked;

    /**
     * 租户id
     */
    private String tenantId;
    /**
     * 省id
     */
    private String provinceId;
    /**
     * 市id
     */
    private String cityId;
    /**
     * 区id
     */
    private String areaId;
    /**
     * 街道id
     */
    private String streetId;
    /**
     * 社区id
     */
    private String communityId;
    /**
     * 组织机构id
     */
    private String orgId;
    /**
     * org上级编号集合
     */
    private String pids;
    /**
     * 所有角色id
     */
    private String roleIds;
    /**
     * 角色集合
     */
    private Set<String> roleIdSet;
    /**
     * 用户所属(0系统管理员1社区用户2物业用户)
     */
    private String userBelong;
    /**
     * 准入部门id
     */
    private String deptId;
}